package pl.tssoft.math.core.calculation.objects;

import java.util.List;
import pl.tssoft.math.core.Value;
import pl.tssoft.math.core.Workspace;
import pl.tssoft.math.core.calculation.Calculable;

/**
 *
 * @author tserafin
 */
public class FunctionObject implements Calculable {

    private final String name;
    private final int startPosition;
    private final List<Calculable> params;

    public FunctionObject(String name, int startPosition, List<Calculable> params) {
        this.name = name;
        this.startPosition = startPosition;
        this.params = params;
    }

    public Value calulate(Workspace w) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
